
<div id="content" class="span9">
    <section id="content-section">
        
        <!-- Título da página-->
        <div class="row-fluid module ">
            <div class="outstanding-header">
                <h2 class="outstanding-title"><span>Efetuar Login no Sistema</span></h2>
                <br><br>
            </div>
        </div>
        <!-- Fim Título da página-->
        
        <?php
        echo form_open('login', array('class' => 'basic-grey'));

        if (validation_errors() != NULL) {
            echo "<div class=\"validation_errors\">";
            echo validation_errors('<p>', '</p>');
            echo "</div><br>";
        }

        if ($this->session->flashdata('cadastro_ok')) {
            echo "<div class=\"message_success\">";
            echo $this->session->flashdata('cadastro_ok');
            echo "</div><br>";
        }
        if ($this->session->flashdata('not_found')) {
            echo "<div class=\"message_error\">";
            echo $this->session->flashdata('not_found');
            echo "</div><br>";
        }

        echo form_label('E-mail: ');
        echo form_input(array('name' => 'email'), set_value('email'), 'autofocus');

        echo form_label('Senha: ');
        echo form_password(array('name' => 'encrypted_password'));

        echo "<br><br>";
        echo form_submit(array('name' => 'login'), 'Efetuar Login');

        echo form_close();
        ?>

    </section>
</div>